home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 1262 / foxpro.cf_ / foxpro.cf
Text File  |  1996-03-12  |  3KB  |  207 lines

  1. ; -------------------------------------------------------------------------
  2. ; -----------  EasyCODE(SPX) - Configuration for FoxPro  ------------------
  3. ; -------------------------------------------------------------------------
  4.  
  5. [GenOptions]
  6. InitialIndent=0
  7. CompressBlanks=no
  8. GenFileExt=PRG
  9. MaxIndent=-1
  10. MaxLineLength=-1
  11.  
  12. [Settings]
  13. SourceFileFormat=ANSI
  14.  
  15. [ParseOptions]
  16. Parser=easy-xbs.dll
  17. SuppressDoInProcedureCall=yes
  18. SuppressLastReturnInProcedure=yes
  19.  
  20. [AvailableConstructs]
  21. Statement=yes
  22. If=yes
  23. Switch=yes
  24. Case=no
  25. For=yes
  26. While=yes
  27. Repeat=yes
  28. Loop=yes
  29. Exit=yes
  30. Procedure=yes
  31. Call=yes
  32. Function=yes
  33. Block=yes
  34. Frame=yes
  35. Condition=yes
  36. And=yes
  37. Or=yes
  38. Not=yes
  39.  
  40. [InsertMenuStrings]
  41. ;Statement=
  42. ;If=
  43. Switch="D&O CASE"
  44. When="  &CASE"
  45. ;Case=
  46. ;Of=
  47. ;For=
  48. While="DO &WHILE"
  49. ;Repeat=
  50. ;Loop=
  51. ;Exit=
  52. Procedure=&PROCEDURE
  53. Call=DO
  54. Function=F&UNCTION
  55. ;Block=
  56. ;Frame=
  57. ;Condition=
  58. ;And=
  59. ;Or=
  60. ;Not=
  61.  
  62. [EncloseMenuStrings]
  63. ;If=
  64. ;Then=
  65. ;Else=
  66. Switch="DO &CASE"
  67. When=&CASE
  68. WhenNone=&OTHERWISE
  69. ;Case=
  70. ;Of=
  71. ;Otherwise=
  72. ;For=
  73. While="DO &WHILE"
  74. ;Repeat=
  75. ;Loop=
  76. ;Exit=
  77. Procedure=&PROCEDURE
  78. Function=F&UNCTION
  79. ;Block=
  80. ;Frame=
  81. ;Condition=
  82. ;And=
  83. ;Or=
  84. ;Not=
  85.  
  86. [KeywordStrings]
  87. If=IF
  88. Then=THEN
  89. Else=ELSE
  90. Switch="DO CASE"
  91. ;FirstWhen=
  92. When=CASE
  93. WhenNone=OTHERWISE
  94. ;Case=
  95. ;FirstOf=
  96. ;Of=
  97. ;Otherwise=
  98. For=FOR
  99. While="DO WHILE"
  100. Repeat=REPEAT
  101. Loop=LOOP
  102. Exit=EXIT
  103. Procedure=PROCEDURE
  104. Function=FUNCTION
  105. ;Block=
  106. And=AND
  107. Or=OR
  108. Not=NOT
  109.  
  110. [MetaStrings]
  111. ;SegmentHeader=
  112. ;Statement=
  113. ;Condition=
  114. ;Expression=
  115. ;Value=
  116. ;ForStatement=
  117. ;ProcedureHeader=
  118. ;ProcedureCall=
  119. ;FunctionHeader=
  120. ;BlockComment=
  121. ;FrameHeader=
  122. ;FrameFooter=
  123.  
  124. [GenStrings]
  125. Statement=''
  126. EndStatement='\N'
  127.  
  128. If='\NIF \3+'
  129. ThenBody='\N'
  130. ElseBody='\N\3-ELSE\3+\n'
  131. EmptyElseBody=''
  132. EndIf='\N\3-ENDIF\n'
  133.  
  134. Switch='\NDO CASE\n\3+'
  135. FirstWhen='\NCASE \5+'
  136. FurtherWhen='\N\3-CASE \5+'
  137. WhenBody='\N\2-'
  138. WhenNoneBody='\N\3-OTHERWISE\n\3+'
  139. EmptyWhenNoneBody='\N'
  140. EndSwitch='\N\6-ENDCASE\n'
  141.  
  142. ; Warning!
  143. ; The GenStrings Case, FirstOf, FurtherOf, OfBody,
  144. ; OtherwiseBody und EmptyOtherwiseBody are not provided,
  145. ; because the CASE construct is not supported by FoxPro.
  146. ; Please use the SWITCH construct instead!
  147. ; Due to the GenString EndCase you will find the following hint 
  148. ; in the generated source program:
  149. EndCase='\s\0:\n\nWarning! CASE construct not allowed.\n\n\r'
  150.  
  151. For='\NFOR \4+'
  152. ForBody='\N\2-'
  153. EndFor='\N\2-ENDFOR\n'
  154.  
  155. While='\NDO WHILE \9+'
  156. WhileBody='\N\7-'
  157. EndWhile='\N\2-ENDDO\n'
  158.  
  159. Repeat='\NDO WHILE .T.\n\3+'
  160. Until='\NIF \3+'
  161. EndRepeat='\NEXIT\n\3-ENDIF\n\3-ENDDO\n'
  162.  
  163. Loop='\NDO WHILE .T.\n\3+'
  164. EndLoop='\N\3-ENDDO\n'
  165.  
  166. Exit='\NIF \3+'
  167. EndExit='\NEXIT\n\3-ENDIF\n'
  168.  
  169. Procedure='\NPROCEDURE \10+'
  170. ProcedureBody='\N\7-'
  171. EndProcedure='\N\3-RETURN\n'
  172.  
  173. Call='\NDO \3+'
  174. EndCall='\n\3-'
  175.  
  176. Function='\NFUNCTION \9+'
  177. FunctionBody='\N\6-'
  178. EndFunction='\N\3-RETURN\n'
  179.  
  180. Block='\N* \"\n\i* "'
  181. BlockBody='\N\2+'
  182. EndBlock='\N\2-'
  183.  
  184. Frame='\N'
  185. FrameBody='\N\3+'
  186. EndFrameBody='\N\3-'
  187. EndFrame='\N'
  188.  
  189. BeginAnd='      (\7+'
  190. And=');\n\7-.AND. (\7+'
  191. EndAnd=')\7-'
  192. BeginOr='      (\7+'
  193. Or=');\n\7-.OR.  (\7+'
  194. EndOr=')\7-'
  195. BeginNot='.NOT. (\7+'
  196. EndNot=')\7-'
  197. Condition=''
  198. EndCondition=''
  199.  
  200. Segment='\N* \"n\i* "'
  201. SegmentBody='\N\2+'
  202. EndSegment='\N\2-'
  203.  
  204. TopSegment='* Generated by \%PNAME% V\%PVER% at \%TIME%\n* with \%CFG%\n\n* \"\n* "'
  205. TopSegmentBody='\n\n'
  206. EndTopSegment='\N'
  207.